package com.bwie.lib_core.bind;

import android.databinding.BindingAdapter;
import android.widget.ImageView;

import com.bwie.lib_core.imgload.BasicImageLoader;

public class ImgViewAdapter {

    @BindingAdapter("loadImg")
    public static void loadImg(ImageView img,String url){
        new BasicImageLoader.BasicBuilder().setImg(img).setUrl(url)
                .build().load();
    }
}
